package ve.com.ucv.changedetection.objects;

import java.util.ArrayList;

/**
 * Created with IntelliJ IDEA.
 * User: Jose Manuel Aguirre
 * Date: 15/11/12
 * Time: 09:58 AM
 * To change this template use File | Settings | File Templates.
 */
public class SubtreeTable {
    ArrayList<SubtreeRow> subtreeRows;

    public SubtreeTable(){
        this.subtreeRows = new ArrayList<SubtreeRow>();
    }

    public ArrayList<SubtreeRow> getSubtreeRows() {
        return subtreeRows;
    }

    public void setSubtreeRows(ArrayList<SubtreeRow> subtreeRows) {
        this.subtreeRows = subtreeRows;
    }

    public void addSubtreeRow(SubtreeRow row){
        this.subtreeRows.add(row);
    }

    public SubtreeRow getSubtreeRow(int index){
        return this.subtreeRows.get(index);
    }
}
